<template>
  <div class="exchangelist">
    <div class="title"><p style="float:left;">交易所</p> <p style="float:right;">网站</p></div>
  <ul>
   <li v-for="(item,index) in exchangelist" :key="index">
     <img :src="item.logo" alt="">
     <span>{{item.name}}</span> 
     <a :href="item.website" style="color:#007aff;float:right;">{{item.website}}</a></li>
  </ul>
  </div>
</template>

<script>
import list from './exchangelistData';
export default {
  name: 'exchangelist',
  data () {
    return {
      exchangelist:list,
    }
  },
  created(){
   
}
}
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped lang="scss">
.exchangelist{
  height: 100%;
   width: 80%;
  .title{
   width: 100%;
    height: 30px;
  }
  ul{
  background: #fff;
  height: 100%;
  width: 100%;
  color:#007aff;
  li{
    height: 46px;
    line-height: 45px;
   
    width: 100%;
    border-bottom:1px solid #e9e9e9;
    img{
       width: 44px;
       vertical-align: middle;
    }
    span{
       vertical-align: middle;
    }
    a{
       vertical-align: middle;
    }
  }
  }
}
// @media screen and (max-width: 768px) {
//   .title{
//     width: 100%;
//   }
// }
</style>
